ContentControl\Services\Restrictions S

Total Complexity 50
Dependencies 2
Dependents 1
Total lines 377
Lines of code 157
Logical lines of code 94
Comment lines 165
Methods 11
Properties 3

Methods 11

Method Rating Maintainability Complexity Lines of code
get_restriction()
A
52 11 27
get_applicable_restrictions()
A
53 9 25
get_restrictions()
A
49 7 31
generate_restriction_matches_cache_key()
S
50 7 25
get_restriction_matches_from_cache()
S
58 7 14
user_meets_requirements()
S
60 3 14
set_restriction_matches_in_cache()
S
70 2 5
__construct()
S
76 1 4
has_applicable_restrictions()
S
78 1 3
sort_restrictions_by_priority()
S
71 1 6
prime_restriction_matches_cache()
S
80 1 3